hysop.numerics.fft.opencl_fft module¶
OpenCl backend base interface for fast Fourier Transforms.
OpenClFFTI
OpenClFFTPlanI
OpenClFFTQueue
- class hysop.numerics.fft.opencl_fft.OpenClFFTI(cl_env, backend=None, allocator=None, queue=None, **kwds)[source]¶
Bases:
FFTI
Abstract base for FFT interfaces targetting OpenCL backends.
Initializes the interface and default supported real and complex types.
- classmethod default_interface(cl_env, backend=None, allocator=None, warn_on_allocation=False, error_on_allocation=True, warn_on_unaligned_output_offset=True, **kwds)[source]¶
Get the default OpenCl FFT interface which is a GpyFFT interface.
- plan_compute_energy(tg, fshape, src, dst, transforms, mutexes, method='round', target=None)[source]¶
Plan to compute energy from src to energy.
- class hysop.numerics.fft.opencl_fft.OpenClFFTPlanI(**kwds)[source]¶
Bases:
FFTPlanI
,OpenClKernelLauncherI
Tag for FFT plans executing on OpenCL backend arrays.
Create a OpenClKernelLauncher.
- Parameters: